<%@ page language="java" contentType="text/html; charset=UTF-8" %>
 <link href="css/top-menu.css" rel="stylesheet" media="screen" type="text/css" />
<script src="js/top-menu.js"></script>
<div class="top-menu" style="border-bottom: 3px groove #efefef;background: white;">
    <a class="menu-title" style="color: black;" href="index.jsp">宠爱同行</a>
    <div class="item">
        <ul><li>
            <a class="menu-item menu-text item-state-black" style="color: black;" href="shelters.jsp">流浪动物基地</a>
            <div class="dropdown dropdown-state-white">
                <ul><li>
                    <a class="menu-text item-state-black" style="color: black;" href="shelters.jsp">基地介绍</a>
                </li><li>
                    <a class="menu-text item-state-black" style="color: black;" href="animals.jsp">动物介绍</a>
                </li><li>
                    <a class="menu-text item-state-black" style="color: black;" href="adopt.jsp">领养窗口</a>
                </li><li>
                    <a class="menu-text item-state-white" style="color: black;" href="adopt.jsp">云养</a>
                </li></ul>
            </div>
        </li><li>
            <a class="menu-item menu-text item-state-black" style="color: black;" href="volunteer.jsp">志愿者中心</a>
            <div class="dropdown dropdown-state-white">
                <ul><li>
                    <a class="menu-text item-state-black" style="color: black;" href="http://lxi.me/bsi1m">加入志愿者</a>
                </li><li>
                    <a class="menu-text item-state-black" style="color: black;" href="volunteer.jsp">志愿者活动</a>
                </li></ul>
            </div>
        </li><li>
            <a class="menu-item menu-text item-state-black" style="color: black;" href="news.jsp">动态资讯</a>
            <div class="dropdown dropdown-state-white">
                <ul><li>
                    <a class="menu-text item-state-black" style="color: black;" href="news.jsp">新闻公告</a>
                </li><li>
                    <a class="menu-text item-state-black" style="color: black;" href="event.jsp">活动资讯</a>
                </li></ul>
            </div>
        </li><li>
            <a class="menu-item menu-text item-state-black" style="color: black;" href="about-us.jsp">关于我们</a>
        </li><li>
            <a class="menu-text item-state-black" style="color: black;" href="login.jsp"><img src="img/user-black.png" height="25px"/>
			<%
				String username = (String)session.getAttribute("username");
				if (username != null){
					out.print(username);
				} else {
					out.print("登陆/注册");
				}
            %>
            </a>
        </li></ul>
    </div>
</div>
